package com.aaa.hospital.controller;

import com.aaa.hospital.result.AjaxResult;
import com.aaa.hospital.service.TjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: danghui
 * @Date: 2022/2/24 15:03
 * @Description: TODO
 */
@RestController
@RequestMapping("tj")
public class TjController {
    @Autowired
    private TjService tjService;
    @RequestMapping("sexbl")
    public AjaxResult sexbl(){
        return tjService.sexbl();
    }
    @RequestMapping("patientsex")
    public AjaxResult patientSex(){
        return tjService.patientSex();
    }

    @RequestMapping("patientCount")
    public AjaxResult patientCount(){
        return tjService.patientCount();
    }
}
